Eventin\Event\Api\EventController D

Total Complexity 197
Dependencies 11
Dependents 0
Total lines 1,372
Lines of code 889
Logical lines of code 401
Comment lines 240
Methods 29
Properties 3

Methods 29

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
D
21
59 199
get_items()
C
34 22 91
prepare_item_for_response()
B
31 19 107
update_item()
A
44 11 43
create_item()
A
46 8 40
register_routes()
A
35 1 126
prepare_organizer()
S
50 7 29
prepare_speaker()
S
50 7 29
delete_items()
S
51 6 27
prepare_meeting_link()
S
51 5 24
convert_elementor_to_wordpress()
S
60 5 14
export_items()
S
60 5 12
delete_item()
S
51 3 28
is_etn_post_type_supported_by_elementor()
S
62 4 11
clone_item()
S
58 3 14
import_items()
S
59 3 13
get_event_list()
S
57 2 17
import_permissions_check()
S
73 3 5
assign_tags()
S
66 3 8
assign_categories()
S
66 3 8
delete_item_permissions_check()
S
73 3 5
update_item_permissions_check()
S
73 3 5
create_item_permissions_check()
S
73 3 5
export_permissions_check()
S
73 3 5
check_post_edit_with_elementor()
S
66 2 8
__construct()
S
77 1 4
get_item()
S
68 1 7
get_item_permissions_check()
S
82 1 3
get_item_schema()
S
91 1 2